<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		var arr = [5,8,3.3,9,12,8,44,1,98,67,3];
		var b;
		for(var i=0;i<arr.length;i++){
			for(var j=i+1;j<arr.length;j++){
				if(arr[i]>arr[j]){
			    b=arr[j];
				arr[j]=arr[i];
				arr[i]=b;
			}
			}
			
		}
		alert(arr);
	</script>
</html>
